aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-04-04 10:27:06 +0100
committerMichael Williamson <mike@zwobble.org>2026-04-04 10:28:17 +0100
commitd68a12290bc715e5dea98186a47d84f0b0dfcdef (patch)
treea879c8c8c7ebd8cbba48db5ca6b771c923831037 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent58fb4a1352c8667bf627ded1ac4171cd568dcf37 (diff)
Rename offset field to elementOffsets
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected14
1 files changed, 7 insertions, 7 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index f8b24821..43e193ad 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -30,14 +30,14 @@ Compilation unit elements:
(local "local__a")
pointer=(local "closurePointer__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
- offset=(1 2 0)
+ element-offsets=(1 2 0)
)
(
memory-load
(local "local__b")
pointer=(local "closurePointer__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
- offset=(1 2 1)
+ element-offsets=(1 2 1)
)
(call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
(call _ "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0")))
@@ -66,35 +66,35 @@ Instructions:
memory-store
pointer=(local "closurePointer__f__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
- offset=(1 2 0)
+ element-offsets=(1 2 0)
value=(data-ptr-const null)
)
(
memory-store
pointer=(local "closurePointer__f__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
- offset=(1 2 1)
+ element-offsets=(1 2 1)
value=(data-ptr-const null)
)
(
memory-store
pointer=(local "closurePointer__f__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
- offset=(1 0)
+ element-offsets=(1 0)
value=(function-ptr-const "shed__function__f__0")
)
(
memory-store
pointer=(local "closurePointer__f__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
- offset=(1 2 0)
+ element-offsets=(1 2 0)
value=(local "local__a")
)
(
memory-store
pointer=(local "closurePointer__f__0")
layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))
- offset=(1 2 1)
+ element-offsets=(1 2 1)
value=(local "local__b")
)
(data-ptr-to-int (local "closure__f__0") (local "closurePointer__f__0"))